import Vue from 'vue'
import App from './App'

/*全局组件*/
import suMessage from '@/components/su-system/message.vue'
import suLoading from '@/components/su-load/loading.vue'
import suPlist from '@/components/su-system/plist.vue'
import suNodata from '@/components/su-saui/su-nodata/nodata.vue'
import attachment from '@/components/su-system/attachment.vue'
import attachmentView from '@/components/su-system/attachment-view.vue'
import pform from '@/components/su-system/pform.vue'
import register from '@/common/js/register.js'

Vue.component('message', suMessage)					//消息提示
Vue.component('loading', suLoading)					//加载中
Vue.component('su-plist', suPlist)					//列表组件
Vue.component('su-nodata', suNodata)				//暂无数据
Vue.component('attachment', attachment)				//附件组件
Vue.component('attachment-view', attachmentView)	//附件查看
Vue.component('pform',pform)						//表单组件

Vue.config.productionTip = false

App.mpType = 'app'

register.registerUtils(Vue)

const app = new Vue({
    ...App
})
app.$mount()
